package com.xmall.order.define.dto;

import com.xmall.order.entity.OrderDelivery;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xmall
 * @since 2023-11-19
 */
@Getter
@Setter
public class OrderDeliveryDto extends OrderDelivery implements Serializable {

    /**
     * 完整地址
     */
    private String fullAddress;

    public String getFullAddress() {
        return this.getProvinceName() + this.getCityName() + this.getCountryName() + this.getAddressDetail();
    }
}
